<?php
ini_set("soap.wsdl_cache_enabled","0");

$service  = new SoapClient("http://208.74.72.210:8080/EnticeWS/services/billing3?wsdl");

$key = 'pass';
$key = mkResllerKey($key);

//041565409351933
//$data = $service->getSubscriber('12',$key, '04128582369454235');

$cust_id = '4156';
$acct_id = '283';

$pageNumber = 1;
$pageSize =20;
$sortField = 'USER_ID';
$filter = 'CUST_ID|=|4156|'; 

$data = $service->getSubscribersPaged('12',$key, $pageNumber, $pageSize, $sortField, $filter);

//header('Content-type: text/xml');

var_dump($data);

function mkResllerKey($key)
{
	$dt = gmdate("m/d/Y", time());
	$key =substr($dt,0,6).$key.substr($dt, 5);
	return md5($key);
}